#include"CPolygon.h"
#include<conio.h>
int main()
{
	CRectangle rect;
	CTriangle trgl;
	rect.setvalues(4, 5);
		trgl.setvalues(4, 5);
		cout << rect.area() << endl;
		cout << trgl.area() << endl;
		return 0;
}